package com.tyler.groovy

class Person {
    String name
    Integer age = 10
    def increaseAge(Integer years) {
        this.age += years
    }

    static void main(String[] args) {
        def p = new Person();
        p.increaseAge(23);
        println p.getAge();
    }
}
